package com.itheima.service.db;

import com.itheima.domain.db.User;
import org.springframework.data.mongodb.util.BsonUtils;

public interface UserService {

    //保存用户
    //Long save(User user);
    Long save(User user);


    //根据手机查询用户
    //User findByMobile(String mobile);
    User findByMobile(String mobile);

}
